package com.zzdx.deployment.system.domain;

import com.zzdx.deployment.common.base.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import java.util.Date;

/**
 * 产品配置模板表 sys_prdtversion_uiconfig_template
 * 
 * @author ruoyi
 * @date 2018-12-25
 */
public class PrdtversionUiconfigTemplate extends BaseEntity
{
	private static final long serialVersionUID = 1L;
	
	/** ui配置模板ID */
	private Integer id;
	/** 所属产品版本 */
	private Integer productVersionId;
	/** 配置模板html内容 */
	private String template;
	/** 创建者 */
	private String createBy;
	/** 创建时间 */
	private Date createTime;
	/** 更新者 */
	private String updateBy;
	/** 更新时间 */
	private Date updateTime;

	ProductVersion productVersion;

	public void setId(Integer id) 
	{
		this.id = id;
	}

	public Integer getId() 
	{
		return id;
	}
	public void setProductVersionId(Integer productVersionId) 
	{
		this.productVersionId = productVersionId;
	}

	public Integer getProductVersionId() 
	{
		return productVersionId;
	}
	public void setTemplate(String template) 
	{
		this.template = template;
	}

	public String getTemplate() 
	{
		return template;
	}
	public void setCreateBy(String createBy) 
	{
		this.createBy = createBy;
	}

	public String getCreateBy() 
	{
		return createBy;
	}
	public void setCreateTime(Date createTime) 
	{
		this.createTime = createTime;
	}

	public Date getCreateTime() 
	{
		return createTime;
	}
	public void setUpdateBy(String updateBy) 
	{
		this.updateBy = updateBy;
	}

	public String getUpdateBy() 
	{
		return updateBy;
	}
	public void setUpdateTime(Date updateTime) 
	{
		this.updateTime = updateTime;
	}

	public Date getUpdateTime() 
	{
		return updateTime;
	}

	public ProductVersion getProductVersion() {
		return productVersion;
	}

	public void setProductVersion(ProductVersion productVersion) {
		this.productVersion = productVersion;
	}

	public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("productVersionId", getProductVersionId())
            .append("template", getTemplate())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
